home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Chat & Communication / Digsby build 37 / digsby_setup.exe / lib / plugins / jsonplugin / jsonplugin.pyo (.txt) < prev   
Python Compiled Bytecode  |  2008-10-13  |  2KB  |  48 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.5)
  3.  
  4. from common import profile, pref
  5. from logging import getLogger
  6. log = getLogger('jplugin')
  7.  
  8. def on_load():
  9.     log.info('Plugin Host Init')
  10.     if pref('jplugin.enabled', False):
  11.         start_server()
  12.     else:
  13.         log.info('Plugin Host Disabled!')
  14.  
  15.  
  16. class jplugin:
  17.     
  18.     def __init__(self, sock):
  19.         pass
  20.  
  21.     
  22.     def on_request(self):
  23.         pass
  24.  
  25.     
  26.     def on_event(self):
  27.         pass
  28.  
  29.  
  30.  
  31. def start_server():
  32.     pass
  33.  
  34.  
  35. def object_to_json(object):
  36.     pass
  37.  
  38.  
  39. def json_to_object(object):
  40.     pass
  41.  
  42.  
  43. def initialize():
  44.     Hook = Hook
  45.     import peak.util.plugins
  46.     Hook('digsby.plugin.load', 'jsonplugin_status').register(on_load)
  47.  
  48.